package org.example.service;

import org.apache.ibatis.annotations.Select;
import org.example.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author 谢哑
* @description 针对表【user】的数据库操作Service
* @createDate 2023-12-10 23:36:56
*/
public interface UserService extends IService<User> {

    int updateByMap(Map<String, Object> parameter);

    @Select("select * from user where account = #{account}")
    List<User> getByAccount(String account);
}
